import myaxios from "../MyAxios";

import URLENV from "@/http/BaseUrl";
const BMDURL = URLENV.BMDURL;

const doctorApi = {
  // 分页查询所有医生
  queryAlllimit(params){
    let url = BMDURL + '/docotr-all/limit'
    return myaxios.get(url,params)
  },

  // 根据医生姓名查找医生
  queryByName(params){
    let url = BMDURL + '/doctorByname'
    return myaxios.post(url,params)
  }
  
};

export default doctorApi;